import request from '@/utils/request'
export default {
  //1 生成统计数据
  createStatistics(day) {
    return request({
      url: '/servicestatistics/daily/registerCount/' + day,
      method: 'get',
    })
  },

  //获取某种类型的统计数据
  getChartsData(data) {
    return request({
      url: '/servicestatistics/daily/getChartsData',
      method: 'post',
      data,
    })
  },
}